package com.financial.service.yspay.service.impl;

import com.financial.service.yspay.dao.FinancialYsPayReqparamWechatpayDao;
import com.financial.service.yspay.domain.FinancialYsPayReqparamWechatpayDO;
import com.financial.service.yspay.service.FinancialYsPayReqparamWechatpayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class FinancialYsPayReqparamWechatpayServiceImpl implements FinancialYsPayReqparamWechatpayService {
    @Autowired
    private FinancialYsPayReqparamWechatpayDao ysReqparamWechatpayDao;

    @Override
    public FinancialYsPayReqparamWechatpayDO get(Integer id) {
        return ysReqparamWechatpayDao.get(id);
    }

    @Override
    public List<FinancialYsPayReqparamWechatpayDO> list(Map<String, Object> map) {
        return ysReqparamWechatpayDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return ysReqparamWechatpayDao.count(map);
    }

    @Override
    public int save(FinancialYsPayReqparamWechatpayDO ysReqparamWechatpay) {
        return ysReqparamWechatpayDao.save(ysReqparamWechatpay);
    }

    @Override
    public int update(FinancialYsPayReqparamWechatpayDO ysReqparamWechatpay) {
        return ysReqparamWechatpayDao.update(ysReqparamWechatpay);
    }

    @Override
    public int remove(Integer id) {
        return ysReqparamWechatpayDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return ysReqparamWechatpayDao.batchRemove(ids);
    }

}
